﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_SYS_RULEData : MarshalByRefObject, ISYS_RULEData
    {
        SYS_RULEData SYS_RULE = new SYS_RULEData();

        public int SYS_RULE_Delete(string Rule_ID)
        {
            return SYS_RULE.SYS_RULE_Delete(Rule_ID);
        }
        public int SYS_RULE_Disable(string Rule_ID, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet SYS_RULE_Get(string Rule_ID)
        {
            return SYS_RULE.SYS_RULE_Get(Rule_ID);
        }
        public System.Data.DataSet SYS_RULE_GetList()
        {
            return SYS_RULE.SYS_RULE_GetList();
        }
        public int SYS_RULE_Insert(string Rule_ID, string Rule_Name, string Rule_NameEn, string Description, bool Active)
        {
            return SYS_RULE.SYS_RULE_Insert(Rule_ID,Rule_Name,Rule_NameEn,Description,Active);
        }
        public int SYS_RULE_Save(string Rule_ID, string Rule_Name, string Rule_NameEn, string Description, bool Active)
        {
            return SYS_RULE.SYS_RULE_Save(Rule_ID, Rule_Name, Rule_NameEn, Description, Active);
        }
        public int SYS_RULE_Update(string Rule_ID, string Rule_Name, string Rule_NameEn, string Description, bool Active)
        {
            return SYS_RULE.SYS_RULE_Update(Rule_ID, Rule_Name, Rule_NameEn, Description, Active);
        }
    }
}
